package club.tclyq.good_time.common.mongo.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.mongodb.core.convert.MongoCustomConversions;

import java.util.List;

/**
 * @author tanchong
 * Create Date: 2019/2/20
 */
@Configuration
public class MongoDbConfig {

    /**
     * MongoDb自定义解析器
     */
    @Bean
    public MongoCustomConversions mongoCustomConversions(){
        return new MongoCustomConversions(List.of());
    }
}
